package com.pine.dcts.websocket;

import javax.websocket.Session;

/**
 * @author xiaoyuan
 * @create 2020/10/14
 **/
public interface WebSocketMessageHandler {

    void init(Session session, String key, String id);

    void messageHandler(Session session, String key, String message);

    void close(Session session, String key);
}
